package com.woniuxy.microsysserver.dao;

import com.woniuxy.microsysserver.entity.MemberCouponEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MemberCouponDao {
    int getcoupon(@Param("username") String username, @Param("currentCouponIds") List<Integer> currentCouponIds);

    List<MemberCouponEntity> getcouponByUsername(String username);

    List<MemberCouponEntity> selectUsedCouponByUsername(String username);

    MemberCouponEntity getOneById(int id);

    String getHostAndPort();

    int updateHostAndPort(String url);
}
